<style src="./index.scss" lang="scss" scoped rel="stylesheet/scss"></style>
<template src="./index.html"></template>
<script>
    export default {
        props: {
             // 使用者window实例 必定义
            appWindow: {
                type: Object,
                default: null,
            },
            options: {
                type: Array,
                default: [{
                        title: "内容设置",
                        icon: "el-icon-menu",
                        name: "options",
                    },
                    {
                        title: "内容样式",
                        icon: "el-icon-s-open",
                        name: "style",
                    },
                    {
                        title: "组件样式",
                        icon: "el-icon-cpu",
                        name: "box",
                    },
                ],
            },
        },
        computed: {},
        data() {
            return {
                typeIndex: 0,
            };
        },
        methods: {
            switchItem(index){
                this.typeIndex=index;
                this.$emit("change",{...this.options[index]})
            }
        },
        watch: {},
        mounted() {},
        beforeCreate() {},
    };
</script>